on keyDown
  put the key into field "The Key" of castLib "Text"
  set the member of sprite 8 to member "downstate"
end